package com.ubb.smartsearch.searchengineif.entity;

import java.util.Collection;

public class Response {

	/** Result array. */
	private Collection<Result> results;

	/** Query suggestion. */
	private String query;

	/** Number of results found. */
	private int count;

	/** Start position of results requested. */
	private int start;

	/** Number of results requested. */
	private int length;

	/** Search time. */
	private long time;

	/** Query suggestions. */
	private Collection<String> suggestions;

	/**
	 * @return the results
	 */
	public Collection<Result> getResults() {
		return results;
	}

	/**
	 * @param results
	 *            the results to set
	 */
	public void setResults(Collection<Result> results) {
		this.results = results;
	}

	/**
	 * @return the query
	 */
	public String getQuery() {
		return query;
	}

	/**
	 * @param query
	 *            the query to set
	 */
	public void setQuery(String query) {
		this.query = query;
	}

	/**
	 * @return the count
	 */
	public int getCount() {
		return count;
	}

	/**
	 * @param count
	 *            the count to set
	 */
	public void setCount(int count) {
		this.count = count;
	}

	/**
	 * @return the start
	 */
	public int getStart() {
		return start;
	}

	/**
	 * @param start
	 *            the start to set
	 */
	public void setStart(int start) {
		this.start = start;
	}

	/**
	 * @return the length
	 */
	public int getLength() {
		return length;
	}

	/**
	 * @param length
	 *            the length to set
	 */
	public void setLength(int length) {
		this.length = length;
	}

	/**
	 * @return the time
	 */
	public long getTime() {
		return time;
	}

	/**
	 * @param time
	 *            the time to set
	 */
	public void setTime(long time) {
		this.time = time;
	}

	/**
	 * @return the suggestions
	 */
	public Collection<String> getSuggestions() {
		return suggestions;
	}

	/**
	 * @param suggestions
	 *            the suggestions to set
	 */
	public void setSuggestions(Collection<String> suggestions) {
		this.suggestions = suggestions;
	}
}
